<script>
  if (foo) {
    bar();
  }
</script>
<script>foo()</script>
<script>foo()</script>
<script></script>
<div></div>